﻿using Citi.GocAttributes.Domain.Utils;
using System.Collections.Generic;

namespace Citi.GocAttributes.Domain
{
    public partial class GocRule
    {
        public void DeletePreviousRules()
        {
            Context.Instance.DeletePreviousRules();
        }
        
        public void UpdateGocRuleHierarchy()
        {
            Context.Instance.CommandTimeout = 72000;
            Context.Instance.UpdateGocRuleHierarchy();
        }
        
        public IEnumerable<string> GetExpenseCode()
        {
            return Context.Instance.GetExpenseCode();
        }
    }
}
